/*
 * @Author: jqgao2
 * @Date: 2022-10-25 09:46:27
 * @LastEditTime: 2022-11-06 19:59:51
 * @Description:
 * @FilePath: \vue2-ele\src\main.js
 * @LastEditors: jqgao2
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 全局组件注册
import "@/components/index";
// 全局注册指令
import "@/directives/index";

// 样式加载
import "@/styles/index.scss";
// TODO 根据项目引入css
// import './assets/iconfont/iconfont.css'
// 先引入element组件，再引入css自定义主题才能生效
import "@/plugins/element";
// 样式加载
import "@/styles/index.scss";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
